﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BUIANHQUAN.OOP.Inheristace
{
    class LopConGa : LopDongVat
    {
        private bool IsCanh;
        private bool IsVayCanh() { return true; }
        private bool IsBay(){return true;}
        public LopConGa(bool IsCanh, bool IsMat, bool IsChan) :base(IsChan,IsMat)
        {
            this.IsCanh = IsCanh;
        }
        public void DacDiem()
        {
            IsBay();
            IsVayCanh();
            IsChay();
            IsNgu();
        }
        public bool Canh { get; set; }
    }
}
